﻿namespace GoViewServer.Core
{
    // 必须是泛型类型
    public class MyRESTfulResult<T>
    {
        /// <summary>
        /// 状态码
        /// </summary>
        public int? code { get; set; }

        /// <summary>
        /// 数据
        /// </summary>
        public T? data { get; set; }

        /// <summary>
        /// 执行成功
        /// </summary>
       // public bool success { get; set; }


        /// <summary>
        /// 
        /// </summary>
        public string? msg { get; set; }
    }
}
